package com.hanrui.android.model;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.util.List;

public class ImpSubBean {


    private List<ImpSubsBean> ImpSub;

    public List<ImpSubsBean> getImpSub() {
        return ImpSub;
    }

    public void setImpSub(List<ImpSubsBean> ImpSub) {
        this.ImpSub = ImpSub;
    }

    public static class ImpSubsBean implements IPickerViewData{
        /**
         * id : 012507890f134b56950108d43e6ef337
         * open : 0
         * pId : 1
         * name : 江苏瀚瑞建设集团有限公司
         * type : 1
         */

        private String id;
        private int open;
        private String pId;
        private String name;
        private String type;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getOpen() {
            return open;
        }

        public void setOpen(int open) {
            this.open = open;
        }

        public String getPId() {
            return pId;
        }

        public void setPId(String pId) {
            this.pId = pId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }
}
